﻿using LJX.SmartPark.Domain.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJX.SmartPark.Domain.SysManage
{
    /// <summary>
    /// 菜单管理表
    /// </summary>
    public class MenuManage : KeyEntity
    {
        /// <summary>
        /// 父级ID
        /// </summary>
        public int PId { get; set; }

        /// <summary>
        /// 菜单名称
        /// </summary>
        [MaxLength(50)]
        public string Name { get; set; }

        /// <summary>
        /// 菜单图标
        /// </summary>
        [MaxLength(50)]
        public string? Icon { get; set; }

        /// <summary>
        /// 页面地址
        /// </summary>
        [MaxLength(100)]
        public string Path { get; set; }

        /// <summary>
        /// 排序Id
        /// </summary>
        public int SortId { get; set; }

        /// <summary>
        /// 启用
        /// </summary>
        public bool Disable { get; set; }
    }
}
